//
//  SelectImgUtils.h
//  laowu
//
//  Created by 尹桥印 on 15/5/10.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol SelectImgUtilsDelegate <NSObject>

-(void)selectImgUtilsUrl:(NSString *)url;
-(void)selectImgUtilsImg:(UIImage *)img;//如果代理实现了这个方法的话，不会自动上传图片。会把图片通过代理回调回去

@end
@interface SelectImgUtils : NSObject
@property (nonatomic,weak)id<SelectImgUtilsDelegate> delegate;
+(instancetype)shareInstance;
-(void)selectImageWithCtrl:(UIViewController *)ctrl;
-(void)uploadImg:(UIImage *)image;
@end
